﻿using RpcSync.Model;

namespace RpcSync.Collect.Model
{
    public class ConfigItem
    {
        /// <summary>
        /// 集群ID
        /// </summary>
        public long RpcMerId
        {
            get;
            set;
        }
        /// <summary>
        /// 所属节点
        /// </summary>
        public long ServerId
        {
            get;
            set;
        }
        /// <summary>
        /// 配置名
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 数据类型
        /// </summary>
        public SysConfigValueType ValueType
        {
            get;
            set;
        }
        /// <summary>
        /// 值
        /// </summary>
        public string Value
        {
            get;
            set;
        }
        /// <summary>
        /// 权限
        /// </summary>
        public int Prower
        {
            get;
            set;
        }
        /// <summary>
        /// 配置Key
        /// </summary>
        public string Key
        {
            get;
            set;
        }
        /// <summary>
        /// 是否公有配置
        /// </summary>
        public bool IsPublic
        {
            get;
            set;
        }
        /// <summary>
        /// 权重
        /// </summary>
        public int Weight
        {
            get;
            set;
        }

    }
}
